package com.zebra.common;

import io.netty.buffer.ByteBuf;
import lombok.*;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ExpiredExitMessage extends ZebraBaseMessage<ExpiredExitMessage>{

    private int expiredType; // 过期 0 大厅  1， 子游戏
    private long goldNumber;

    @Override
    public void write(ByteBuf b) {
        writeInt(b, this.expiredType);
        writeLong(b, this.goldNumber);
    }

    @Override
    public ExpiredExitMessage read(ByteBuf b) {
        return null;
    }
}
